package com.freecloud.whispered.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @Author: maomao
 * @Date: 2019-06-18 00:07
 */
//@ComponentScan(basePackages = "com.freecloud.whispered.*")
@EnableJpaRepositories(basePackages = "com.freecloud.whispered.*")
@EntityScan(basePackages = "com.freecloud.whispered.*")
@SpringBootApplication
public class StartApplication {
    public static void main(String[] args) {
        SpringApplication.run(StartApplication.class,args);
    }
}
